/**
 * 入驻类相关api
 */

import {
	http,
	Method
} from "@/utils/request.js";

// 商户申请
export function merchantManageapply(params) {
	return http.request({
		url: "/api/MerchantManage.merchant/apply",
		method: Method.POST,
		data: params,
	});
}


// 获取审核状态
export function merchantManageauditStatus(params) {
	return http.request({
		url: "/api/MerchantManage.merchant/auditStatus",
		method: Method.GET,
		params,
	});
}


// 商户信息回显
export function merchantManageinfo(params) {
	return http.request({
		url: "/api/MerchantManage.merchant/info",
		method: Method.GET,
		params,
	});
}

// 编辑商户信息
export function merchantManageinfoedit(params) {
	return http.request({
		url: "/api/MerchantManage.merchant/edit",
		method: Method.POST,
		data: params,
	});
}